package controllers

import (
	"GO_BACK/api/dbapi"
	"fmt"
	"github.com/gin-gonic/gin"
)

func PgConnectController(c *gin.Context) {
	Client, err := dbapi.PgDbConnect()
	if err != nil {
		fmt.Println("连接数据库失败：", err)
	} else {
		fmt.Println("连接数据库成功", Client)
	}
}
